<template>
    <div class="flowDesign">
        <demo></demo>
    </div>
</template>
<script>
import demo from './components/Design.vue'
export default {
  name: 'Dashboard',
  components: {
    demo
  },
  data() {
    return {
      
    }
  },
  created() {
    // 禁止画布空格往上移
    document.addEventListener("keydown", function(event) {
      if (event.keyCode === 32) { // 32是空格键的键码
        event.preventDefault(); // 阻止默认的滚动行为
      }
    });
  },
  methods: {

  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
  .flowDesign{
    position: relative;
  }
</style>